#ifndef __PWM_H
#define __PWM_H

/* PA5  TIMER1_CH0 */
#define BSP_PWM_RCU      	RCU_GPIOA
#define BSP_PWM_PORT    	GPIOA
#define BSP_PWM_PIN      	GPIO_PIN_5
#define BSP_PWM_AF			GPIO_AF_1

/* TIMER */
#define BSP_PWM_TIMER_RCU  	RCU_TIMER1  // 定时器时钟
#define BSP_PWM_TIMER    	TIMER1   	// 定时器
#define BSP_PWM_TIMER_CH	TIMER_CH_0	// 定时器输出通道

void PWM_Init(void);
void PWM_breathing_lamp(void);




#endif
